package eu.testing.system.models;

import java.util.Date;
import java.util.List;

public class Result {
	private String username;
	private Date time;
	private int score;
	private List<Answer> answers;
	private int testId;
	private String testTitle;

	public Result() {

	}

	public Result(String username, Date time, int score, List<Answer> answers,
			int testId, String testTitle) {
		super();
		this.username = username;
		this.time = time;
		this.score = score;
		this.answers = answers;
		this.testId = testId;
		this.testTitle = testTitle;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public List<Answer> getAnswers() {
		return answers;
	}

	public void setAnswers(List<Answer> answers) {
		this.answers = answers;
	}

	public int getTestId() {
		return testId;
	}

	public void setTestId(int testId) {
		this.testId = testId;
	}

	public String getTestTitle() {
		return testTitle;
	}

	public void setTestTitle(String testTitle) {
		this.testTitle = testTitle;
	}

}